package com.xyz.rok.tools.mapper;

import com.xyz.rok.tools.model.UserUnion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserUnionMapper {
    int deleteByPrimaryKey(@Param("userId") Long userId, @Param("unionId") Long unionId);

    int insert(UserUnion record);

    int insertSelective(UserUnion record);

    List<UserUnion> selectByUserIdAndUnionId(@Param("userId") Long userId, @Param("unionId") Long unionId);

    int deleteByUnionId(@Param("unionId") Long unionId);
}